package com.wmjsoft.plugins.nutzplugin.dao

import org.nutz.dao.QueryResult

/**
 * 如果我没有写注释，请提醒我
 * @program: Maternal
 * @description:
 * @author: Mr.Lee
 * @create: 2021-02-20 15:01
 */
class Pager(private var queerSql: QueerSql) {

    fun <DTO> result(dtoClazz: Class<DTO>, pageNumber: Int, pageSize: Int): QueryResult? {
        return this.queerSql.pageExecute(dtoClazz, pageSize, pageNumber)
    }
}